package com.taxi.driver.module.vo;

import com.alibaba.fastjson.JSON;
import com.taxi.driver.data.entity.CancelDesEntity;

/**
 * 功能描述：
 */
public class CancelDesVO {

    public static CancelDesVO createFrom(CancelDesEntity entity) {
        if (entity == null) return new CancelDesVO();
        String strJson = JSON.toJSONString(entity);
        return JSON.parseObject(strJson, CancelDesVO.class);
    }

    public String description;
    public String details;

}
